<%--
 * list.jsp
 *
 * Copyright (C) 2013 Universidad de Sevilla
 * 
 * The use of this project is hereby constrained to the conditions of the 
 * TDG Licence, a copy of which you may download from 
 * http://www.tdg-seville.info/License.html
 --%>

<%@page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="security"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@taglib prefix="acme" tagdir="/WEB-INF/tags"%>

<display:table pagesize="5" class="displaytag" keepStatus="true"
	name="ownershipHistories" requestURI="${requestURI}" id="row">

	<spring:message code="history.customer" var="customerHeader" />
	<display:column property="customer.name" title="${customerHeader}" sortable="false" />
	
	<spring:message code="history.buyDate" var="buyHeader" />
	<display:column property="buyDate" title="${buyHeader}"
		sortable="false" format="{0,date,dd/MM/yyyy HH:mm}" />
		
	<spring:message code="history.sellDate" var="sellHeader" />
	<display:column property="sellDate" title="${sellHeader}"
		sortable="false" format="{0,date,dd/MM/yyyy HH:mm}" />

</display:table>

<acme:cancel code="history.goBack" url="${backURI}" />
			